﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;
namespace BLL
{
   public class OrderMangager
    {
        //查询
        public static List<Orderss> SelectAll() {
            return OrderService.SelectAll();
        }
        //编辑状态
        public static bool Edit(string ID)
        {
            return OrderService.Edit(ID);
        }
        public static object OrderSelectPage(int pageSize, int pageIndex)
        {
            throw new NotImplementedException();
        }
        //分页查
        public static List<Orderss> OrderSelectByPage(int count, int pageIndex)
        {
            return OrderService.SelectByPage(count, pageIndex);
        }
        public static bool OrderAdd(Orderss o)
        {
            return OrderService.AddOrder(o);
        }
    }
}
